/**
 * @(#)ChannelApkInfo.java 2016年9月22日
 * Copyright(C) 2015 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian;

import java.io.Serializable;

import org.jsbd.boss.util.DateUtil;


public class UmRetentConfig implements Serializable {

	private static final long serialVersionUID = -5220229154852937989L;
	
	private Integer id;
	private String channelName;
	private Integer appInfoId;
	private String channel;
	private String apkName;
	private Double retentRate;
	private Integer retentDay;
	private String configDay;
	private Integer exetimes;
	
	private Integer priority;
	private Integer total;
	private Integer execTotal;
	
	private String createTime;
	private String modifyTime;

	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}


	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Double getRetentRate() {
		return retentRate;
	}

	public void setRetentRate(Double retentRate) {
		this.retentRate = retentRate;
	}

	public Integer getRetentDay() {
		return retentDay;
	}

	public void setRetentDay(Integer retentDay) {
		this.retentDay = retentDay;
	}

	public Integer getExetimes() {
		return exetimes;
	}

	public void setExetimes(Integer exetimes) {
		this.exetimes = exetimes;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Integer getExecTotal() {
		return execTotal;
	}

	public void setExecTotal(Integer execTotal) {
		this.execTotal = execTotal;
	}

	public String getConfigDay() {
		if (retentDay != null) {
			configDay = DateUtil.getSomeDayForNum(retentDay);
		}
		return configDay;
	}

	public void setConfigDay(String configDay) {
		this.configDay = configDay;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Integer getAppInfoId() {
		return appInfoId;
	}

	public void setAppInfoId(Integer appInfoId) {
		this.appInfoId = appInfoId;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getApkName() {
		return apkName;
	}

	public void setApkName(String apkName) {
		this.apkName = apkName;
	}
}
